package com.example.demo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.util.Date;

/**
 * @since 4 August 2023
 */
@Data
@Table("tb_account")
public class Account {


    @Id(keyType = KeyType.Auto)
    private long id;

    private String userName;

    private Integer age;

    private Date birthday;
}
